package com.tanhua.dubbo.server.pojo;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.bson.types.ObjectId;
import org.springframework.data.mongodb.core.mapping.Document;

/**
 * 系统日志
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
@Document(collection = "sys_log")
public class Log implements java.io.Serializable{

    private ObjectId id; //主键id
    private Long userId; //用户id
    private Long logTime; //开始登录时间
    private String place; //地点
    private String equipment; //设备
    private String logType; //类型
}
